package com.maxmlr.music.admin.service;

import com.maxmlr.music.admin.entity.User;
import com.maxmlr.music.admin.param.UserParam;
import com.maxmlr.music.common.base.BaseService;

import java.io.Serializable;

/**
 * @author max
 * @version 1.0
 * @ClassName UserService
 * @Description    服务类
 * @Copyright Copyright (c) 2020: www.maxmlr.com.
 * @since 2020-06-14
 */
public interface UserService extends BaseService<User> {

    User getAdminUser();

    boolean saveParam(UserParam param);

    UserParam getUserParamById(Serializable id);

    boolean updateParam(UserParam param);

    boolean updateUserPwd(UserParam param);
}
